package com.xiaomaoguai.security;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @fileName: SecurityApplicationMain.java
 * @author: WeiHui-Z
 * @date: 2017/11/20 20:21
 * @version: v1.0.0
 */
@RestController
@SpringBootApplication
public class SecurityApplicationMain {

	public static void main(String[] args) {
		SpringApplication.run(SecurityApplicationMain.class, args);
	}

	@GetMapping("/hello")
	public String helloWorld() {
		return "hello world , security!";
	}

}
